﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addtemplate.aspx.cs" Inherits="WebSite.admin.addtemplate" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>添加模板</title>
    <link href="main.css" rel="stylesheet" type="text/css" />
	<script language="javascript">
	    parent.maintitle.innerHTML = "添加模板";
	    parent.contentmain.innerHTML = "<span class='title01'>操作：</span>添加模板"
    </script>
    <script language='javascript'>
        var path = (window.top.location).toString();
        if (path.indexOf('login.aspx') == -1) {
            if (path.indexOf('index.aspx') == -1) {
                window.top.location = 'index.aspx';
            }
        }
	</script>
</head>
<body bgcolor="#F1F4F7">
    <form id="form1" runat="server">
    <div>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#F1F4F7">
        <tr>
          <td align="center" bgcolor="#F1F4F7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="2%" height="33" background="images/info-list-bg.gif">&nbsp;</td>
              <td Width="98%" align="left" background="images/info-list-bg.gif">
                  所在位置：<asp:Label ID="Label1" runat="server" Text="添加模板信息" Width="82px"></asp:Label></td>
            </tr>
          </table>
            <table Width="98%" border="0" align="center">
			  <tr align="center">
			    <td width="22%" height="22" align="right">
                    模板名称：</td>
			    <td align="left">
                    <asp:TextBox ID="modelname" runat="server"></asp:TextBox></td>
		      </tr>
		       <tr align="center">
			    <td height="22" align="right">模板缩略图：</td>
			    <td align="left"><asp:TextBox ID="picfile" runat="server"></asp:TextBox>
                    <input id="file1" type="file" runat="server" /><asp:Button ID="Button1" runat="server" Text="上传" OnClick="Button1_Click" />
                    </td>
		      </tr>
		      <tr align="center">
			    <td width="22%" height="22" align="right">
                    关于我们横幅宽：</td>
			    <td align="left">
                    <asp:TextBox ID="width1" runat="server">100</asp:TextBox></td>
		      </tr>
		      <tr align="center">
			    <td width="22%" height="22" align="right">
                    关于我们横幅高：</td>
			    <td align="left">
                    <asp:TextBox ID="height1" runat="server">100</asp:TextBox></td>
		      </tr>
		     <tr align="center">
			    <td width="22%" height="22" align="right">
                    新闻动态横幅宽：</td>
			    <td align="left">
                    <asp:TextBox ID="width2" runat="server">100</asp:TextBox></td>
		      </tr>
		      <tr align="center">
			    <td width="22%" height="22" align="right">
                    新闻动态横幅高：</td>
			    <td align="left">
                    <asp:TextBox ID="height2" runat="server">100</asp:TextBox></td>
		      </tr><tr align="center">
			    <td width="22%" height="22" align="right">
                    产品展示横幅宽：</td>
			    <td align="left">
                    <asp:TextBox ID="width3" runat="server">100</asp:TextBox></td>
		      </tr>
		      <tr align="center">
			    <td width="22%" height="22" align="right">
                    产品展示横幅高：</td>
			    <td align="left">
                    <asp:TextBox ID="height3" runat="server">100</asp:TextBox></td>
		      </tr><tr align="center">
			    <td width="22%" height="22" align="right">
                    服务支持横幅宽：</td>
			    <td align="left">
                    <asp:TextBox ID="width4" runat="server">100</asp:TextBox></td>
		      </tr>
		      <tr align="center">
			    <td width="22%" align="right" style="height: 26px">
                    服务支持横幅高：</td>
			    <td align="left" style="height: 26px">
                    <asp:TextBox ID="height4" runat="server">100</asp:TextBox></td>
		      </tr><tr align="center">
			    <td width="22%" height="22" align="right">
                    人力资源横幅宽：</td>
			    <td align="left">
                    <asp:TextBox ID="width5" runat="server">100</asp:TextBox></td>
		      </tr>
		      <tr align="center">
			    <td width="22%" height="22" align="right">
                    人力资源横幅高：</td>
			    <td align="left">
                    <asp:TextBox ID="height5" runat="server">100</asp:TextBox></td>
		      </tr><tr align="center">
			    <td width="22%" height="22" align="right">
                    联系我们横幅宽：</td>
			    <td align="left">
                    <asp:TextBox ID="width6" runat="server">100</asp:TextBox></td>
		      </tr>
		      <tr align="center">
			    <td width="22%" height="22" align="right">
                    联系我们横幅高：</td>
			    <td align="left">
                    <asp:TextBox ID="height6" runat="server">100</asp:TextBox></td>
		      </tr>
			</table>
            <table Width="98%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="40" align="center" valign="top"><asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="images/buttom-02.gif" OnClick="ImageButton1_Click1" /></td>
              </tr>
            </table></td>
        </tr>
      </table>
    </div>
    </form>
</body>
</html>
